home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-06
/
jung3.zip
/
ADMIN.MDF
< prev
next >
Wrap
Text File
|
1991-09-16
|
4KB
|
161 lines
.I am still working on this...
.
. Sample of Menu Definition file for use with Net Inc.'s NetMenu (TM)
.
.
. Drive:\Path to create Batch File
=H:\tmp
. Title Screen
!' User: %LOGIN_NAME',L:2,'Your Company Name',C,'Station: %STATION ',R:77
['Free Mem: %FREE_MEM'L:2, '%HOUR:%MINUTE %AM_PM %MONTH/%DAY/%YEAR',C,'Server: %SERVER',R:76
%Administration,-1,-1,3
*Network Diagnostics, 10
('Network Diagnostic Utilities',C
>1
*Network Documentation, 10
('Network Documentation Utilities',C
>2
.........................................................................
. First Window
.
% Network Diagnostics,-1,-1,2
*Display Network Card Status
('Display current status of specified workstation',C
+rem @1"Type in UserName or Connection#"
+ncard @1
+cd \usr\%LOGIN_NAME
+netmenu %THIS_MDF
*Collect Network Card Status
('Collect current status of all attached workstations',C
+h:
+cd \usr\%LOGIN_NAME
+nallcard
+cd \usr\%LOGIN_NAME
+netmenu %THIS_MDF
*Display Network Utilization
('Display workstation that have the most packet traffic',C
+h:
+cd \usr\%LOGIN_NAME
+ntraffic
+cd \usr\%LOGIN_NAME
+netmenu %THIS_MDF
.........................................................................
. Second Window
.
% Network Documentation,-1,-1,2
*Document User Account
('Document User Account information',C
+ rem #1"Please choose option:"
+ rem #1.1[Save Document Only (Y)]
+ rem #1.2[Print Document (P)]
+ rem #1X
+H:
+cd \server\document
+rem @1"Type in UserName"
+nrptbind @1 Y
+nrptscrp @1
+if #1 == Y goto end
+nprint @1.USR
+nprint @1.SCR
+:end
+cd \usr\%LOGIN_NAME
+netmenu %THIS_MDF
*Document Group Account
('Document Group Account information',C
+ rem #1"Please choose option:"
+ rem #1.1[Save Document Only (Y)]
+ rem #1.2[Print Document (P)]
+ rem #1X
+H:
+cd \server\document
+rem @1"Type in GroupName"
+nrptbind @1 N
+if #1 == Y goto end
+nprint @1.GRP
+:end
+cd \usr\%LOGIN_NAME
+netmenu %THIS_MDF
*Document Queue Account
('Document Print Queue Account information',C
+ rem #1"Please choose option:"
+ rem #1.1[Save Document Only (Y)]
+ rem #1.2[Print Document (P)]
+ rem #1X
+H:
+cd \server\document
+rem @1"Type in QueueName"
+nrptbind @1 N
+if #1 == Y goto end
+nprint @1.QUE
+:end
+cd \usr\%LOGIN_NAME
+netmenu %THIS_MDF
*Document Login Scripts
('Document Login Script information',C
+ rem #1"Please choose option:"
+ rem #1.1[Save Document Only (Y)]
+ rem #1.2[Print Document (P)]
+ rem #1X
+H:
+cd \server\document
+rem @1"Type in UserName, GroupName, or SYSTEM for system"
+nrptscrp @1
+if #1 == Y goto end
+if @1 == %SERVER nprint %SERVER.SCR
+if @1 <> %SERVER nprint @1.SCR
+:end
+cd \usr\%LOGIN_NAME
+netmenu %THIS_MDF
*Document File Ownership
('Document File Ownership of specified subdirectory',C
+ rem #1"Please choose option:"
+ rem #1.1[Save Document Only (Y)]
+ rem #1.2[Print Document (P)]
+ rem #1X
+H:
+cd \server\document
+rem @1"Type in full subdirectory path"
+nrptown @1
+if #1 == P nprint nrptown.rpt
+cd \usr\%LOGIN_NAME
+netmenu %THIS_MDF
*Document PrintJob Configuration
('Document PrintJob Configuration',C
+ rem #1"Please choose option:"
+ rem #1.1[Save Document Only (Y)]
+ rem #1.2[Print Document (P)]
+ rem #1X
+H:
+cd \server\document
+rem @1"Type in UserName or GroupName"
+nrptpcon @1
+if #1 == P nprint @1.con
+cd \usr\%LOGIN_NAME
+netmenu %THIS_MDF
#